<?php
class aa{
    function test(){
        return 'women';
    }
}
$obj = new aa();
echo  $obj->test;
